{% extends 'base.html' %}
{% block stylesheet %}
{{ block.super }}
{% endblock%}

{% block javascript %}
{{ block.super }}
{% endblock%}
{% block content %}
<div id="navi">
    <a href="{% url school_create %}">school list</a>
</div>

<table>
{% for school in schools %}
    <tr>
        <td><a href="{% url school_detail school.id %}">{{ school.name }}</a></td>
        <td>{{ school.province }}</td>
        <td>{{ school.en_name }}</td>
        <td>{{ school.address }}</td>
        <td>{{ school.stage }}</td>
        <td>{{ school.log }}</td>
    </tr>
{% endfor %}
</table>
{% endblock %}